body {
  margin: 0;
  background-color: rgb(218, 152, 195);
}

.wrapper {
  overflow-y: auto;
  overflow-x: hidden;
  perspective: 10px;
}

header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  z-index: -1;} 

.rosa {
  position: absolute;
  z-index: -3;
}

.background {
  transform: translateZ(-10px) scale(2);
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -2;
  mix-blend-mode: difference;
}

.foreground {
  transform: translateZ(-5px) scale(1.5);
  position: absolute;
  height: 100%;
  width: 90%;
  object-fit: cover;
  z-index: -1;
  mix-blend-mode: difference;
}

.middle {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  mix-blend-mode: difference;
}

@media (max-width: 768px) {
  .middle {
    content: url("Material/mobile/makromikromobile.png");
  }
}

nav ul {
  background: rgb(180, 195, 200);
  width: 100%;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-family: "inter";
  position: fixed;
  left: 0;
  top: -13px;
  align-items: center;
  isolation: isolate;
  z-index: 1000;
  font-size: 13px;
}


a:link {
  text-decoration: none;
  color: rgb(75, 60, 55);
}

a:visited {
  color: rgb(75, 60, 55);
}

nav li img {
  width: 40px;
}

h2 {
  font-family: inter;
  font-size: 9vw;
  font-weight: 400;
  letter-spacing: -0.02em;
  padding-left: 3vw;
  padding-right: 3vw;
  line-height: 8vw;
  
  /*mix-blend-mode: difference;*/
}

.rechts {
  text-align: right;
}

#diashow {
  position: relative;
  width: 1fr;
  height: 70vh;
  margin-bottom: 2em;
  display: grid;
  grid-template-columns: 1fr 40vw 1fr;
}

#diashow img {
  grid-column: 2 / 3;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 2s ease-in-out;
  width: 100%;
  /* damit passt sich das Bild automatisch an den
  zur Verfügung stehenden Raum an – der Ausschnitt ändert sich! */
  object-fit: cover;
}

.unsichtbar {
  opacity: 0;}

.burger {
  display: none;
}

p {
  color: white;
  font-family: inter;
  padding-right: 3vw;
  padding-left: 3vw;
  mix-blend-mode: difference;
}

@media (max-width: 700px) {
   p {
    font-size: 12px;
  }
}


h3 {
  color: white;
  font-family: inter;
  padding-left: 3vw;
  mix-blend-mode: difference;
}

a:link {
  color: white;
  text-decoration: none;
  mix-blend-mode: difference;
  text-decoration: underline;
}

a:visited {
  color: white;
  mix-blend-mode: difference;
  text-decoration: underline;
}


